Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <h4>Image with no margins</h4> <p><img src="smiley.gif" alt="Smiley face" width="42" height="42" align="middle"> This is some text. This is some text. This is some text.</p> <h4>Image with 50px margins on top and botttom</h4> <p><img src="smiley.gif" alt="Smiley face" width="42" height="42" align="middle" style="margin:50px 0px">This is some text. This is some text. This is some text.</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_img_vspace_css by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:40 GMT --> </html>
Result:
Try it Yourself - © w3schools.com